package com.example.pictureManage;

import javafx.scene.control.TreeItem;

import java.nio.file.Path;

public class FileNode extends TreeItem<String> {
    private Path filePath;

    public FileNode(String name, Path path) {
        super(name);
        this.filePath = path;
    }

    public Path getFilePath() {
        return filePath;
    }

    public void setFilePath(Path filePath) {
        this.filePath = filePath;
    }
}